﻿using System;

namespace Terraria.Graphics.Capture
{
	// Token: 0x020003A2 RID: 930
	public class CaptureBiome
	{
		// Token: 0x060020A7 RID: 8359 RVA: 0x00016FBC File Offset: 0x000151BC
		public CaptureBiome(int backgroundIndex, int backgroundIndex2, int waterStyle, CaptureBiome.TileColorStyle tileColorStyle = CaptureBiome.TileColorStyle.Normal)
		{
			this.BackgroundIndex = backgroundIndex;
			this.BackgroundIndex2 = backgroundIndex2;
			this.WaterStyle = waterStyle;
			this.TileColor = tileColorStyle;
		}

		// Token: 0x060020A8 RID: 8360 RVA: 0x0045CE4C File Offset: 0x0045B04C
		static CaptureBiome()
		{
			CaptureBiome[] array = new CaptureBiome[12];
			array[0] = new CaptureBiome(0, 0, 0, CaptureBiome.TileColorStyle.Normal);
			array[2] = new CaptureBiome(1, 2, 2, CaptureBiome.TileColorStyle.Corrupt);
			array[3] = new CaptureBiome(3, 0, 3, CaptureBiome.TileColorStyle.Jungle);
			array[4] = new CaptureBiome(6, 2, 4, CaptureBiome.TileColorStyle.Normal);
			array[5] = new CaptureBiome(7, 4, 5, CaptureBiome.TileColorStyle.Normal);
			array[6] = new CaptureBiome(2, 1, 6, CaptureBiome.TileColorStyle.Normal);
			array[7] = new CaptureBiome(9, 6, 7, CaptureBiome.TileColorStyle.Mushroom);
			array[8] = new CaptureBiome(0, 0, 8, CaptureBiome.TileColorStyle.Normal);
			array[10] = new CaptureBiome(8, 5, 10, CaptureBiome.TileColorStyle.Crimson);
			CaptureBiome.Biomes = array;
		}

		// Token: 0x04003D2E RID: 15662
		public static CaptureBiome[] Biomes;

		// Token: 0x04003D2F RID: 15663
		public readonly int WaterStyle;

		// Token: 0x04003D30 RID: 15664
		public readonly int BackgroundIndex;

		// Token: 0x04003D31 RID: 15665
		public readonly int BackgroundIndex2;

		// Token: 0x04003D32 RID: 15666
		public readonly CaptureBiome.TileColorStyle TileColor;

		// Token: 0x020003A3 RID: 931
		public enum TileColorStyle
		{
			// Token: 0x04003D34 RID: 15668
			Normal,
			// Token: 0x04003D35 RID: 15669
			Jungle,
			// Token: 0x04003D36 RID: 15670
			Crimson,
			// Token: 0x04003D37 RID: 15671
			Corrupt,
			// Token: 0x04003D38 RID: 15672
			Mushroom
		}
	}
}
